<div class="wrapper">
    <app-breadcrumb [path]="path"></app-breadcrumb>
    <app-scrollview class="scrollview">
        <nz-row>
            <nz-col [nzSpan]="18">
                <div class="nzSegment">
                    <nz-alert *ngIf="projectKey && workflowName" nzType="info" nzMessage=" {{'workflow_template_help_add_from' | translate: {projectKey: projectKey, workflowName: workflowName} }}"></nz-alert>
                    <app-workflow-template-form mode="add" [loading]="loading" [workflowTemplate]="workflowTemplate"
                                                [groups]="groups" [errors]="errors" (save)="saveWorkflowTemplate($event)"></app-workflow-template-form>
                </div>
            </nz-col>
            <nz-col [nzSpan]="6">
                <app-workflow-template-help></app-workflow-template-help>
            </nz-col>
        </nz-row>
    </app-scrollview>
</div>
